<?php
/**
 * Created by PhpStorm.
 * User: Haima
 * Date: 2018/7/12
 * Time: 1:16
 */

namespace app\api\model;


use think\Db;

class Banner
{
    public static function getBannerById($id){
        //TODO 根据Banner 的 ID号 获取Banner信息
        $result=Db::query('select * from banner_item where banner_id = ?',[$id]);
        return $result;

    }
}